package test.thread;

import org.jbpm.graph.def.ActionHandler;
import org.jbpm.graph.exe.ExecutionContext;

public class ThreadWaitAction implements ActionHandler {

	public void execute(ExecutionContext executionContext) throws Exception {
		for (int i=0; i<10; i++) {
			System.out.println("ThreadWaitAction i当前值:"+i);
			//当前睡眠1秒钟
			Thread.sleep(1000);
		}
	}

}
